#include "my_time.h"
#include <omp.h>

int main() {
  MyTimeI;
  MyTimeA;

  int tid = 0;
#pragma omp parallel private(tid)
  {
    tid = omp_get_thread_num(); // 获取线程编号
#pragma omp for schedule(static)
    for (int i = 0; i < 40; i++) {
      printf("tid->ret:: %d -> %d \n", tid, i);
    }
  }

  MyTimeB;
  return 0;
}